import {
  createApp
} from 'vue'
import App from './App'
import router from './router/routes'
import store from './store'

import installElementPlus from '@/plugins/element'

import '@/assets/css/base/app-global.scss'

const app = createApp(App)
installElementPlus(app)
app.use(store).use(router).mount('#app')

// 导入封装好的axios并挂载到Vue全局属性上
import Axios from '@/plugins/AxiosClient'
import Utils from "@/plugins/utils/utils"
app.config.globalProperties.$axios = Axios
app.config.globalProperties.Utils = Utils